Ping a website using python - example 117